package ru.dadle8.service.api.db;

import org.telegram.telegrambots.meta.api.objects.User;
import ru.dadle8.model.db.TelegramProfile;

import java.util.Optional;

public interface UserService {

    Optional<TelegramProfile> getTelegramProfile(Long userId);

    void save(User user, Long chatId);

    boolean exists(Long userId);

}
